package com.lh.common.entity.admin;

import com.lh.common.enums.AfterStatusEnum;
import com.lh.common.enums.AfterTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author FH
 * @ClassName:OrderAfterSaleDetails
 * @Description: (类作用)
 * @date: 2020-05-19 17:39
 */

@Alias("orderAfterSaleDetails")
@Data
public class OrderAfterSaleDetails implements Serializable {

    @ApiModelProperty(value = "售后订单状态：PROCESSING->退款处理中；REFUNDSUCCESS:退款成功；RETURNING:退货处理中；TOWAREHOUSE:退货入库中: REFUNDING:退货退款中,RETURNSUCCESS:退货退款成功,REFUSERETURN:拒绝退货退款失败,REFUSEWAREHOUSE:拒绝入库退款失败,REFUSEREFUND:拒绝退款退款失败，RETURNTIMEOUT：退货超时")
    private AfterStatusEnum status;

    @ApiModelProperty(value = "联系人")
    private String receiveRecipients;

    @ApiModelProperty(value = "联系人手机号")
    private String receivePhone;

    @ApiModelProperty(value = "服务类型 REFUND:退款;RETURN:退货")
    private AfterTypeEnum type;

    @ApiModelProperty(value = "订单号")
    private String orderItem;

    @ApiModelProperty(value = "服务单号")
    private String afterSaleId;

    @ApiModelProperty(value = "支付单号")
    private String payPaymentsId;

    @ApiModelProperty(value = "申请时间")
    private String createTime;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundPrice;

    @ApiModelProperty(value = "退货原因")
    private String reason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "图片")
    private String proofPics;

    @ApiModelProperty(value = "商品信息")
    private List<OrderShop> orderShop;

    @ApiModelProperty(value = "订单日志")
    private List<OrderLog> orderLog;

}
